<?php
//use	think\Route;
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

//	注册路由到index模块的News控制器的read操作
//Route::rule('index','home/index/index');
//Route::rule('login','home/user/login');
//Route::rule('register','home/user/register');
//Route::rule(['order'=>'home/user/order','address'=>'home/user/address','goodsList'=>'home/goods/goodsList','detail'=>'home/goods/detail']);
//Route::rule(['flowList'=>'home/flow/flowList','jiesuan'=>'home/flow/jiesuan','tijiao'=>'home/flow/tijiao']);




return [
    '__pattern__' => [
        'name' => '\w+',
    ],
    '[hello]'     => [
        ':id'   => ['index/hello', ['method' => 'get'], ['id' => '\d+']],
        ':name' => ['index/hello', ['method' => 'post']],
    ],

];
